﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using System.Drawing;
namespace GeoFly
{
    public class MyTreeNode : TreeNode
    {
        public GridLayer gridlayer = null;
        public GridLayer gridLayer
        {
            get
            {
                return gridlayer;
            }
            set
            {
                this.gridlayer = value;
                this.Text = value.FileName;
            }
        }
        /// <summary>
        /// 如果该节点包含Layer数据(即读入的ASCII码数据)，为真，否则为假(为假时主要用于显示图像)。
        /// </summary>
        public bool IsLayer = false;
        public Bitmap bitmap = null;
    }
}
